-- vim.ui.input({ prompt = 'Enter value for shiftwidth: ' }, function(input)
--     vim.o.shiftwidth = tonumber(input)
-- end)
--
--
function log()
  local buf = vim.api.nvim_get_current_buf()
  local current_line = vim.api.nvim_get_current_line()
  vim.api.nvim_buf_set_lines(buf, current_line, current_line + 1, false,
    'console.log(' .. current_line ');')
end

vim.ui.input({ prompt = 'Enter value for shiftwidth: ' }, function(input)
    vim.o.shiftwidth = tonumber(input)
end)
